//
//  PTProgressHud.swift
//  PTWatch Watch App
//
//  Created by sc-chen on 2023/9/19.
//

import SwiftUI

struct PTProgressHud: View {
    @Binding var isPresented: Bool
    @Binding var text: String
    
    var body: some View {
        if isPresented {
            VStack {
                Text(text)
                    .frame(width: 121,height: 40)
                    .background(
                        RoundedRectangle(cornerRadius: 20)
                            .fill(Color.black)
                    )
            }
            .background(Color.black)
        }
    }
}
